import { PrismaClient } from "@prisma/client";
import { Random } from 'mockjs'
import { create } from "../help";
const prisma = new PrismaClient();

export async function user(){
    await create(30,async (prisma:PrismaClient)=>{
        await prisma.user.create({
            data:{
                email:Random.string(),
                password:'888888',
                github:Random.string(),
                avatar:Random.string()
            }
        })
    })
}